
import request from '../utils/request'

export const getCategoryAPI=()=>{
    return request({
        url:'/category'
    })
}

// 添加栏目
export const addCategorAPI=(data)=>{
    return request({
        method: 'POST',
        url:'/category',
        data:data ,
    })
}
